<?php require __DIR__ . '/../common/header.html'; ?>
<body>
<div id="body">
    <div class="app_menu_left menu_left">
        <h1><?php echo $L['app']; ?></h1>
        <ul class='setting'>
            <li id="all"><i class="font-icon icon-user"></i><?php echo $L['app_group_all']; ?></li>
            <li id="game"><i class="font-icon icon-dashboard"></i><?php echo $L['app_group_game']; ?></li>
            <li id="tools"><i class="font-icon icon-picture"></i><?php echo $L['app_group_tools']; ?></li>
            <li id="reader"><i class="font-icon icon-star"></i><?php echo $L['app_group_reader']; ?></li>
            <li id="movie"><i class="font-icon icon-music"></i><?php echo $L['app_group_movie']; ?></li>
            <li id="music"><i class="font-icon icon-info-sign"></i><?php echo $L['app_group_music']; ?></li>
            <li id="life"><i class="font-icon icon-question"></i><?php echo $L['app_group_life']; ?></li>
            <li id="others"><i class="font-icon icon-question"></i><?php echo $L['app_group_others']; ?></li>
        </ul>
    </div>
    <div class='app_list main'>
        <?php if ($GLOBALS['is_root']) { ?><a class="create_app button"><?php echo $L['app_create']; ?></a><?php } ?>
        <div class='h1'><i class="font-icon icon-user"></i><?php echo $L['app_group_all']; ?></div>
        <ul class="app-list"></ul>
    </div>
</div>
<script src="./assets/js/lib/seajs/sea.js"></script>
<script src="./explorer.php?user/common_js"></script>
<script type="text/javascript">
    seajs.config({
        base: "./assets/js/",
        preload: ["lib/jquery-1.8.0.min"],
        map: [
            [/^(.*\.(?:css|js))(.*)$/i, '$1$2']
        ]
    });
    seajs.use('app/src/app/main');
</script>
</body>
</html>
